package com.back.end.Service;

import com.back.end.Modal.Address;
import com.back.end.Modal.User;
import com.tencentcloudapi.common.exception.TencentCloudSDKException;

import java.util.List;

public interface AppUserService {
    public User find_user(User user);

    public boolean sendSms(String phone, String code) throws TencentCloudSDKException;

    public User smsLogin(String phone, String code, String name, String profile);

    public void addAddress(Address address);

    public List<Address> getAddressList(int customerId);

    public void updateAddress(Address address);

    public User checkUserInfo(String phone);
}
